<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<link rel="stylesheet" href="/bootstrap/css/bootstrap.css">
<!DOCTYPE>
<html>
  <head>
    <base href="<%=basePath%>"> 
    <title>管理页面</title>
  </head>
  <body>
  	<div class="container">
  			<div></div>
			<div class="row" style="padding-top: 2px">
			<div class="col-md-11">
				<img src="" width="200" height="50">
			</div>
			<div class="col-md-1" style="text-align: right">
				<a href="">[ 首页 ]</a><br> <a href="">[ 前台 ]</a><br> <a
					href="">[ 退出 ]</a>
			</div>
		</div>
		<div class="row" style="border-top:1px solid #337AB7"> 
			<div class="col-md-3">
				<div style="padding:2px;padding-right:5px;background:#EEE;">
					<div class="list-group " >
						<a class="list-group-item active">用户信息中心</a>
						<a class="list-group-item">登录用户：${ cookie.user.value    }</a>
						<a class="list-group-item">登陆时间：${cookie.time.value }</a>
						<a class="list-group-item">登陆ip：${cookie.ip.value }</a>
						<div class="list-group-item">
							<div style="float: right;">
								<a href="/user/include?include=reset">[修改密码]</a>
								<a href="/user/logout">[注销]</a>
							</div>
							<div style="clear: both;"></div>
						</div>
						<div class="list-group-item active">新闻管理中心</div>
							<a href="/user/include?include=pushnews" class="list-group-item">发布新闻</a>
							<a href="/user/include?include=newslibe&pageNum=1&pageCount=5&typeid=0" class="list-group-item">新闻管理</a>
							<a href="/addTypes" class="list-group-item">添加新闻类型</a>
							<a href="/user/include?include=newstypes.jsp&pageNum=1&pageCount=5" class="list-group-item">新闻类型管理</a>
						<div class="list-group-item active">后台管理中心</div>
							<a href="#" class="list-group-item">后台管理中心</a>
							<a href="#" class="list-group-item">关于系统</a>
							<a href="#" class="list-group-item">关于用户</a>	
						</div>
					</div>
				</div>
				<div class="col-md-9">
						<div style="width: 100%; height: 554px;">
						<jsp:include page="${param.include }"></jsp:include>
				</div>
			</div>
		</div>
	</div>       
  </body>
</html>
